@(elements: helper.FieldElements)
<div class="control-group @if(elements.hasErrors) {error}">
    <label class="control-label" for="@elements.id">@elements.label</label>
    <div class="controls">
        @elements.input
        <span class="help-inline"><small>
            @if(elements.hasErrors) {
                @elements.errors.mkString(", ")
            }else{
                @elements.infos.mkString(", ")
            }
        </small></span>
    </div>
</div>
